-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[TCGC] Fix naming logic for anonymous model wrapped by HttpPart
#1491
Conversation
All changed packages have been documented.
Show changes
|
You can try these changes here
|
packages/typespec-client-generator-core/test/types/multipart-types.test.ts
Show resolved
Hide resolved
Bumps [core](https://github.com/microsoft/typespec) from `0be9e8f` to `a5fc2ce`. <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/microsoft/typespec/commit/a5fc2ce6201098d1d7095bb4e7a6109c1dd2fe9a"><code>a5fc2ce</code></a> Customization fixes (<a href="https://github.com/microsoft/typespec/issues/4385">#4385</a>)</li> <li><a href="https://github.com/microsoft/typespec/commit/2010bc4490ab84a18bf3af5ab5c77863e87d9853"><code>2010bc4</code></a> http-client-java, compiler 0.46 (<a href="https://github.com/microsoft/typespec/issues/4393">#4393</a>)</li> <li>See full diff in <a href="https://github.com/microsoft/typespec/compare/0be9e8f22bb587db69bf1fc5e73effef1e2364a5...a5fc2ce6201098d1d7095bb4e7a6109c1dd2fe9a">compare view</a></li> </ul> </details> <br /> Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…/e2e-tests/cadl-ranch-specs (#1517) Bumps [@azure-tools/cadl-ranch-specs](https://github.com/Azure/cadl-ranch) from 0.37.1 to 0.37.2. <details> <summary>Commits</summary> <ul> <li>See full diff in <a href="https://github.com/Azure/cadl-ranch/commits">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=@azure-tools/cadl-ranch-specs&package-manager=npm_and_yarn&previous-version=0.37.1&new-version=0.37.2)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
This is blocking a new RP [kubernetesruntime](https://github.com/Azure/azure-rest-api-specs/blob/f5321f9b29083f9ea4c028e7484504875e04a758/specification/kubernetesruntime/KubernetesRuntime.Management/storageclass.tsp#L273) generating SDK.
packages/typespec-client-generator-core/test/types/multipart-types.test.ts
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good! Do you want to release this before next month's release or can it wait until next month's release. If you want to release it before, we've started using a release branch https://github.com/Azure/typespec-azure/blob/main/CONTRIBUTING.md#make-a-patch-release
Merge commits are not allowed on this repository
Other languages hope we could release a patch version asap so I will merge this into release branch |
…ure#1491) fix Azure#1483 The PR contains: - Bug fix for empty name of anonymous model wrapped by `HttpPart` - add `afterEach` in test to make sure the `sdkPackage.models/enums` must have non-empty name. --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Wei Hu <[email protected]>
…ure#1491) fix Azure#1483 The PR contains: - Bug fix for empty name of anonymous model wrapped by `HttpPart` - add `afterEach` in test to make sure the `sdkPackage.models/enums` must have non-empty name. --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Wei Hu <[email protected]>
fix #1483
The PR contains:
HttpPart
afterEach
in test to make sure thesdkPackage.models/enums
must have non-empty name.